
package com.be.beadmin.material.repository;

import com.be.beadmin.material.entity.MaterialShortage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author zmy
* @date 2023-07-17
**/
public interface MaterialShortageRepository extends JpaRepository<MaterialShortage, String>, JpaSpecificationExecutor<MaterialShortage> {

    MaterialShortage findMaterialShortageByIdAndDelete(String id, Integer delete);

    MaterialShortage findMaterialShortageById(String id);

}